package com.qiniu.githubdata.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tag")
public class Tag {
    @TableId("id")
    private int id;
    private String name;
    private int type;
    public Tag(String name, int  type) {
        this.name = name;
        this.type = type;
    }
}
